Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18N: Remove canonical/hreflang tags, let RTD handle SEO/locale negotiation #10209

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

mhilbrunner
Copy link
Member

@mhilbrunner mhilbrunner commented Nov 5, 2024

This was originally added as a stopgap (by me) and turned out to be less than satisfactory. In the mean time, RTD now generates sitemaps to handle this (compare https://docs.godotengine.org/sitemap.xml), and Google actually considers our generated links here broken due to no proper backlinks if you check via their Webmaster tooling.

Removing this should hopefully mean Google uses the Sitemap and the <html lang=""> tag to find links between alternate language versions, and prefer to show users the pages meant for their configured preferences for language/locale.

If that turns out not enough, we need to revisit this, but fix the implementation to provide proper backlinks for all languages.

@mhilbrunner
Copy link
Member Author

Let's see how this works in practice.

@mhilbrunner mhilbrunner deleted the i18n-fix branch November 7, 2024 00:44
@mhilbrunner
Copy link
Member Author

Cherrypicked to 4.3 in #10346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant